package com.pzcnet.dao;

import com.pzcnet.model.EventPublish;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by xdkxlk on 2017/9/11.
 */
@Repository
public interface EventPublishDAO {

    List<EventPublish> selectByStatus(String eventStatus);

    List<EventPublish> selectNeedRepeatEvent();

    EventPublish selectByPrimaryKey(int id);

    int insert(EventPublish eventPublish);

    int updateSelectiveByPrimaryKey(EventPublish eventPublish);
}
